package com.gaswell.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gaswell.entity.Qba01M;
import com.gaswell.pojo.AlarmRecord;
import com.gaswell.vo.Result;

public interface AlarmRecordService extends IService<AlarmRecord> {
    Result selectAll(int department);

    Result selectAllByPage(IPage<AlarmRecord> page, int department,int sort);

    Result selectAllByPageAndJhAndCategory(IPage<AlarmRecord> page, int department,int sort,String jh,String category);
    Result selectAllByPageAndJhAndCategoryAndTime(IPage<AlarmRecord> page, int department,int sort,String jh,String category,String start,String end);

    Result updateOne(AlarmRecord alarmRecord);
}
